Developer --> Technical Publications
PATHMac OS 8 Developer Documentation > Networking and Communications > AppleShare >

User Authentication Modules


UAMWakeup

Wake up a thread that has yielded time.

extern void UInt32 UAMWakeup (
                     ThreadID id,
                     UInt32 value);
id
A thread ID obtained by calling UAMGetThreadID that identifies the thread that is to be awakened.
value
The value returned by the UAMSleep call that put the thread specified by id to sleep.
function result
A result code. For a list of possible values, see Result Codes .
DISCUSSION

The UAMWakeup function wakes up a thread that yielded time to the AppleShare Registry due to a previous call to UAMSleep . Your server UAM's completion routine typically calls UAMWakeup to awaken a thread that was put to sleep before the server UAM made a call over the network.


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)